home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6849 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: kuhub.cc.ukans.edu!anh
  2. From: anh@kuhub.cc.ukans.edu
  3. Newsgroups: comp.lang.pascal.misc,comp.lang.pascal.borland,comp.programming,comp.lang.misc,comp.lang.c,comp.lang.c++
  4. Subject: Re: Writing an expression evaluator
  5. Message-ID: <1996Feb19.194610.114372@kuhub.cc.ukans.edu>
  6. Date: 19 Feb 96 19:46:10 CST
  7. References: <311FEBD8.7305@cnj.digex.net> <31251AAF.2D0B@harrier.bldrdoc.gov>
  8. Organization: University of Kansas Academic Computing Services
  9.  
  10. Have you tried LEX and YACC? The tools could be an overkill but for more 
  11. complex parsing stuff, they will save you time.
  12.  
  13. Anh
  14.  
  15. In article <31251AAF.2D0B@harrier.bldrdoc.gov>, "G. C. Straty" <straty@harrier.bldrdoc.gov> writes:
  16. > Aristotle wrote:
  17. >> 
  18. >> Does anyone have any tips on how to go about writing an expression
  19. >> evaluator(one complex enough to handle Trig. functions). I am writing a
  20. >> program that uses expression and I would like to have the user be able to
  21. >>  enter their own expressions and have my program implement them. Any help
  22. >>  would be appreciated. Thanks in advance!
  23. >> 
  24.